#include "Client.h"

extern BWAPI::Client BWAPI::BWAPIClient;

namespace BroodWar
{
	namespace Api
	{
		namespace Client
		{
			Client::Client() { }

			bool Client::IsConnected::get()
			{
				return BWAPI::BWAPIClient.isConnected();
			}

			bool Client::Connect()
			{
				return BWAPI::BWAPIClient.connect();
			}

			void Client::Disconnect()
			{
				BWAPI::BWAPIClient.disconnect();
			}
			
			void Client::Update()
			{
				BWAPI::BWAPIClient.update();
			}
			
			//GameData^ Client::Data::get()
			//{
			//	#pragma warning Implement
			//	throw gcnew System::NotImplementedException();
			//}

			//void Client::Data::set(GameData^ value)
			//{
			//	#pragma warning Implement
			//	throw gcnew System::NotImplementedException();
			//}
		}
	}
}
